package com.yuanqi.common;

/**
 * 订单状态常量
 */
public class OrderStatus {
    
    /**
     * 销售订单状态
     */
    public static class SalesOrder {
        /** 草稿 */
        public static final Integer DRAFT = 0;
        /** 已提交 */
        public static final Integer SUBMITTED = 1;
        /** 已审核 */
        public static final Integer APPROVED = 2;
        /** 审核拒绝 */
        public static final Integer REJECTED = 3;
        /** 已关闭 */
        public static final Integer CLOSED = 4;
        /** 部分出库 */
        public static final Integer PARTIALLY_SHIPPED = 5;
        /** 全部出库 */
        public static final Integer FULLY_SHIPPED = 6;
    }
    
    /**
     * 退货订单状态
     */
    public static class ReturnOrder {
        /** 待审核 */
        public static final Integer PENDING = 0;
        /** 已审核 */
        public static final Integer APPROVED = 1;
        /** 已处理 */
        public static final Integer PROCESSED = 2;
        /** 已拒绝 */
        public static final Integer REJECTED = 3;
    }
    
    /**
     * 支付状态
     */
    public static class Payment {
        /** 未支付 */
        public static final Integer UNPAID = 0;
        /** 部分支付 */
        public static final Integer PARTIALLY_PAID = 1;
        /** 已支付 */
        public static final Integer PAID = 2;
        /** 已退款 */
        public static final Integer REFUNDED = 3;
    }
}








